package cn.liwq.demo.dto;

import cn.liwq.demo.enums.OperationBaseEnum;
import lombok.Getter;
import lombok.ToString;

import java.io.Serializable;

/**
 * @author lweiqiang
 * @date 2023/2/10
 */
@ToString
@Getter
public class OperateLogEventDTO implements Serializable {

    private static final long serialVersionUID = 1L;

    private final Long bizId;

    private final OperationBaseEnum operation;

    public OperateLogEventDTO(Long bizId, OperationBaseEnum operation) {
        this.bizId = bizId;
        this.operation = operation;
    }
}
